
<form name="editForm" role="form" novalidate ng-submit="vm.save()">

    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
                ng-click="vm.clear()">&times;</button>
        <h4 class="modal-title" id="myDoctortestLabel" data-translate="zhserverApp.doctortest.home.createOrEditLabel">Create or edit a Doctortest</h4>
    </div>
    <div class="modal-body">
        <jhi-alert-error></jhi-alert-error>
        <div class="form-group" ng-show="vm.doctortest.id">
            <label for="id" data-translate="global.field.id">ID</label>
            <input type="text" class="form-control" id="id" name="id"
                    ng-model="vm.doctortest.id" readonly />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.workingyears" for="field_workingyears">Workingyears</label>
            <input type="number" class="form-control" name="workingyears" id="field_workingyears"
                    ng-model="vm.doctortest.workingyears"
                     />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.user" for="field_user">User</label>
            <input type="text" class="form-control" name="user" id="field_user"
                    ng-model="vm.doctortest.user"
                     />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.school" for="field_school">School</label>
            <input type="text" class="form-control" name="school" id="field_school"
                    ng-model="vm.doctortest.school"
                     />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.resume" for="field_resume">Resume</label>
            <input type="text" class="form-control" name="resume" id="field_resume"
                    ng-model="vm.doctortest.resume"
                     />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.hospital" for="field_hospital">Hospital</label>
            <input type="text" class="form-control" name="hospital" id="field_hospital"
                    ng-model="vm.doctortest.hospital"
                     />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.flag" for="field_flag">Flag</label>
            <input type="checkbox" class="form-control" name="flag" id="field_flag"
                    ng-model="vm.doctortest.flag"
                     />
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.createat" for="field_createat">Createat</label>
                <div class="input-group">
                    <input id="field_createat" type="text" class="form-control" name="createat" datetime-picker="{{dateformat}}" ng-model="vm.doctortest.createat" is-open="vm.datePickerOpenStatus.createat"
                      />
                    <span class="input-group-btn">
                        <button type="button" class="btn btn-default" ng-click="vm.openCalendar('createat')"><i class="glyphicon glyphicon-calendar"></i></button>
                    </span>
                </div>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.updateat" for="field_updateat">Updateat</label>
                <div class="input-group">
                    <input id="field_updateat" type="text" class="form-control" name="updateat" datetime-picker="{{dateformat}}" ng-model="vm.doctortest.updateat" is-open="vm.datePickerOpenStatus.updateat"
                      />
                    <span class="input-group-btn">
                        <button type="button" class="btn btn-default" ng-click="vm.openCalendar('updateat')"><i class="glyphicon glyphicon-calendar"></i></button>
                    </span>
                </div>
        </div>
        <div class="form-group">
            <label class="control-label" data-translate="zhserverApp.doctortest.doctorname" for="field_doctorname">Doctorname</label>
            <input type="text" class="form-control" name="doctorname" id="field_doctorname"
                    ng-model="vm.doctortest.doctorname"
                     />
        </div>

    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="vm.clear()">
            <span class="glyphicon glyphicon-ban-circle"></span>&nbsp;<span data-translate="entity.action.cancel">Cancel</span>
        </button>
        <button type="submit" ng-disabled="editForm.$invalid || vm.isSaving" class="btn btn-primary">
            <span class="glyphicon glyphicon-save"></span>&nbsp;<span data-translate="entity.action.save">Save</span>
        </button>
    </div>
</form>
